package welsir.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import welsir.entity.dos.User;
import welsir.security.Token;

import java.util.List;
import java.util.Map;


public interface IUserService extends IService<User> {

    User queryUserByUserName(String userName);
    User queryUserByUid(Long uid);
    List<User> queryAllUser();
    int deleteUserByUid(Long uid);
    int updateUserByUser(User user);
    Map registerUser(User user);
    Page<User> queryUserPage(int size, int page);
    Map usernameLogin(String username, String password);
}
